package dao;

import java.util.ArrayList;

import exception.DAOSystemException;

import model.CompensationLeaveDTO;

public interface CompensationLeaveDAO {
	public CompensationLeaveDTO find(String id) throws DAOSystemException;
    public ArrayList<CompensationLeaveDTO> findAllCompensationLeaves() throws DAOSystemException;
    public void insertCompensationLeave(CompensationLeaveDTO compensationLeave) throws DAOSystemException;
    public void updateCompensationLeave(CompensationLeaveDTO compensationLeave) throws DAOSystemException;
    public void deleteCompensationLeave(CompensationLeaveDTO compensationLeave) throws DAOSystemException;
    /*Added by: Suganthi */
    public void updateCompensationLeaveOT(CompensationLeaveDTO compensationLeave) throws DAOSystemException;
    

}
